package tang.common;

import lombok.Data;

import java.nio.ByteBuffer;

/**
 * @author Tang
 * @classname Response
 * @description [  ]
 * @date 2021/2/23 20:51
 */
@Data
public class CreateResponse extends Record{

    String result;

    @Override
    public void encoder() {
    }

    @Override
    public void decoder(ByteBuffer respData) {
        result = new String(respData.array());
    }
}